home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-09-27 | 1.6 KB | 14 lines | [TEXT/CCL2] |
- ;;; This handles the default rule.
-
- (define (maybe-default-ambiguous-tyvar type def module)
- (let ((classes (ntyvar-context type)))
- (and (not (null? classes)) ; this happens only during cleanup after an error
- (let ((non-standard? '#f)
- (numeric? '#f))
- (dolist (class classes)
- (cond ((eq? (class-kind class) 'numeric)
- (setf numeric? '#t))
- ((not (eq? (class-kind class) 'standard))
- (setf non-standard? '#t))))
- (cond ((or non-standard? (not numeric?))
- (remember-c